import request from '@/utils/request'

export function getList(name,current,size) {
  return request.get("/subject/list",{params:{name,current,size}})
}

export function save(subject) {
  return request.post("/subject/save",subject)
}

export function update(subject) {
  return request.post("/subject/update",subject)
}

export function del(ids) {
  return request.post("/subject/remove",ids)
}
